string manipulations added