created and added recommendation code