removed Dbg code