Minor comment about the deps
Added basic error handling