add functions in user option class