add pattern match argument