Matrix writer