debug and more