Added some debug on cout