deps
better error handling