added replacement stub function.