added in more functions to support smoketest