changed function name to match API docs