modifying style comparator for testing