change to RestController