sam manages dependencies, fails gracefully.