getting more specific with which error to rescue