followed along with video and created the working program