Added try/catch for BS