added a drop down and some javascript