add recommendation code

add recommendation code