Add pattern level