doc utils stuffs