Work done to fucntions.php