completed switch to select case statement to make it easier to keep track of number of units purchased