Added logic to /legislature to make it fast and furious
Merge Yifan's changes from master