cleaned up code. added legislator_gender field.