added more functions to functions.php