wrapper for define