Adds error handling
Bump to version 0.1.6