logic for player company profit share