Added some err prints to func Do() to see where errors are happening