doc changes and function rename