use extend of RichBase

use extend of RichBase