added method pattern example;
fix NL