Added comments and removed degenerte vertices