add dependency analysis