changed scanner to fobj