Two functions added to original stub file