moved contact template out