removed some debug echo statements