add matrix target.