implemented string_compare() where I missed on last pass