finally got records working