fixed gender bug and removed old method