begin coding energy script
make it better
stuff