changed dayAmount to challengeAmount

corrected dayAmount variable