started working on REST methods