examples using new method