add syntax for task collection, closes #1