debug and output info