added some function, modelviewer demo