added Delayed call to support nicer syntax in replicate