added getter for sex