helper functions of openframeworks