i send str to function