add best fit feature in the menu