based on singlton ,set modelbase