In reply to natasv:
I added #1us before end of the task, i still see the same output where data = 00 not 01