avoid sync methods and access stdin a better way