first take on contract util library