some more string manipulations