simplify taskr5 codes