updating to_s method