added dependencies to add. warning: still does not work