starting flex scanner