following along with video, adding the boolean and string variables