- functions.php: rearranged some code. nothing big