Some code utils