type parsing
GUI v0.2