Changing the open and callback scheme