missed a function in process.php