add node dependences
complete