shared code between TIB TOB