oops...forgot to remove one ) in the last elseif statement