producer IF EXISTS statement added