cab working for a single record.  Now need to write wrapper for returning a list of records