Noticed raidus and energy were assigned twice, so that redundancy has been removed.