added rest demo