Change functions to utils.