register/delete,etc logic done, now debug