added debug
added debug