parses graphs okay