added single-attachment template