tasks come from a Mongo Collection