Update _func.php

suggestion on how to do it different/easier