Sample tasklet code simplified