organizing functions in ocrsteam_functions.php