Forgot to make edt for register