rename process function to not conflict with process object