Deleting open method