moved a function in sync sketch. about the rewrite