renamed some patterns