added begin rescue