Custom type example