implements Contents  class