added pattern options