my first try at a Hud c: