fixed some syntax problems
allow for setting power to 0