worked on moving input code away from main - but seems to be causing glitchy slow down during shooting