add sample for non persisted object