adding debugging information