updated comments on functions: got rid of unnecessary comments