type connections callback