Adding IF NOT EXITS clause