fixed output to update with the dropdown menus