made a functionality to sell players