nika focused on the mechanics of magic , on how helen controlled the flow of energy into her depending on what she intended to do with it-taking into herself only what she needed to perform each task .