new pattern, bug correction