Made patterns work