pre-orm switch