Data dir logic 2