add third arg for addEventListener method