Added some notes and comments