started project, completed energy function