first commit for energy to adjust all for setup with netbeans