TODO: handle cases with missing gender