Switches code moved to a separate file