check mass profile
change energy to total_energy