Made patterns a preference; updated usage