still working on energy api