Code to add dropdown for user selection