added readdata