fixed gender issues on management. NEED TO ADD TO REST OF CODE