got lists of records working. fixed up the precedence issue