added example for RestController