Merge remote-tracking branch 'upstream/master'
added commented code
error handling
Merge pull request #176 from Somesh/master

error handling and sequence commit