more robust error handling
0.0.4