set get value for sex property