rename function, expand docs