removed Str dependency