made a few changes to bill controller