compiles ok & reads first record