added multi line reading and storing answer