Added open to the register function