Pass args, don't mutate state, and extract out the console wait method for clarity