continued work on budget pay. need to fix loop