mat setting