power system now uses floats instead of ints