making some functions public for Test classes