Create functions.php

the main code change