using richbase