updated for strings