debug2 added