added inputManager script for reference