Added back debug statements