implemented check_and_build_recommendation()