allow multiple inputs via stdin