first, working on REST API