added a results variable with a console log