sample codes added