* Removed a useless variable (prev_gender).