define wrap fragments for umd