added method computeReferencing to Closure