Made some changes to dx