using  for rest resource