for applying the contents