Getting tasks by mark