nicer initializer for ReadData