importing patterns