added functionality toggle to recommendation