added dropdown and array variables