implemented energy created command for metric