added pattern

added pattern