Core utils written in Gambit