Modifications to pattern output format