added functions for easy access from external module