added some debug options