changed to sync servlet