small modification done for debug