changed str to blob