add sample for new type vs new type()