add connection struct