prototypical working implementation of the recommendation mechanism