tweaked some patterns