examples for simple methods and for blocks