now without a TaskReference class