initial addition of sample code