Learning edges and pathws works