Restored power system code to when i didnt break it