moved some code around in HUDController.java