working on REST example