add Str to int minimal implemenation