save 'selection' and regtype