add first functionality: output text to scanner