adding notes and original source code