Refactor helper gender method