changed PathVariable to RequestParam