add Methods example in basic