Add pattern Command