finished stub functions