Version 1.1-0 with commented code