got some REST stuff working