fixing some stuff, making schematic pdf