motifs and lcrs(simplified) implemented, not yet completely tested