checks
checks
calculating energy