added life counter at top