finally got the .maz reading to work