Added some comments and confess missing error condition