every dependency can be added only once