working with dynamic dropdown, and setting the final amount based on dropdown selection