multiscan was rewrited