Updated functions.php to only return requested data 2