debug and comments