DONE:  budget algorithm
this time really changed!