problem 14

improved performance, it doesn't need the collate sequence class but who knows maybe it will be useful later.