using assert to check for conditions
bugfix error checkings
Merge branch 'master' of github.com:lgfa29/dropshot