added <IF EXISTS>