get text from console