chaning how -d works