compilable version of multiplescanners!