please share sample codes.