added a debugging