Changed function name to be consistent with header