abstract utils for plugin use