Rectification functions.php