Added dependency analysis