add a task reference (extracted from the source)