added some basic error handling
bumped to v0.6.1