changed the code to only accept positive incomes