add some class function