thePowerofNumber method inserted.