removed unused code.
for sync