add sample data

updata code and  add comment