added icon parameter to energy object