added locCmp