added task context methods