added string version (commented)