added sample code in box