finished adding code for video 13