adding and selecting process with autocomplete

nearly all of the select boxes has broken but i will fix them