added petrecords database accessor methods