create the readdata object