reordered methods
added max health and energy values