move some functions comment to header file