tutorial 2 update with @method