debug and modify