add some try code