removed dipatch_apply