add begin function written in toy… now support define and set! only in begin