Cleaned up debug_c2s