added } to else statement of set-up parse