minor refactoring wit player and input
small input changes