rewrote schematicLoader