add a little error handling