function is now complete and supports the finding of roman and arab sequences