further refactoring to make HUD blueprint follow best coding practices