changed directory struct