added DIP and gerestein_dip