New connection method and added a rollback method.