nominations.py function identical to bills.py