adding some sample code