added rest examples