a wrapper for frank matrix