add function to dump recent words table