added slit scanning mode