implemented referenced tasks and interted all example tasks + export function