Implement similarities and recommendations functions