works with basic circuits, currently crashes when trying to parse labels