added begin-rescue-end