added rest sample