change some funcs in class into private method(add a '_' in front of the function name)