Adding function readIn