Why are you using do.call here? I don't think it's necessary