update tutorial function with more appropiate one from Eric Smith
1 file changed