life calc added

not working though