added concept of player to ui