removed console calls