implemented exception handling for existing cbz