added comments on errors