corrected use of readsync
correct toString()