added reference version of dependency adding