dded some debug statements