Template work for connecting activities