created REST interface