mask.create() re-converted to new style