Added more sample code