add comments and debug Class for dev