:+1: Nice job getting all the logic into one function!