cleaned up legislator controller