add dependencies check