added dropdown and errors