adding public utility functions