added union as a constructor example