add dependency codes