added syphon version and added checkEdges function to class