add energy library dependencies