New API functions for easy of use