broke out functions, into functions.php for require