Auxiliary functions for iOS developers