made changes per notes from professor