update comment rename function
adjust comments, fix variable names