add more debug statements