refactored lifeHandler
refactored life