Added non-subscription sample code