Add some functions to utils

3 jobs for master