add UMD support