adding debug flag..