adding debugging again