result menu logic change