added notes from class's example