able to sync drawing for random line