don't mix up addDependeny and addAttribute/addString