example of a constructor