basic try/catch works