add tbx and tbx functionality