updated to ensure that duplicate dependencies aren't created