implemented setString