refactored HUD - separate HUD method