minor fixes
testing patterns node structure done