added initial sample code