adding method and block examples