update function name to be consistent