template for contrast norm