add slice sample