added getter to player