added health bar and various improvements