initial rendition of the generic traversal and handler routines