added error handling
Merge branch 'master' of https://github.com/daimyowk/APCS-HW