removing blocking sync functions (_.each)