added many try/catch