add block try catch