implement recommendation service with r