added equals to player