Added pattern command
Added pattern command