modified detail template