add rest sample