adding some debug lines