added life bar and edited some comments