unused code in function.php removed.