Update 1.1

Updated the verbose and debug comments. Added functions.