Adding some debug echo statements