frame dumping helper function; db loadin