Final version of dvapply()
fix for dus and names