fixing pay for place error and added items to score func