removed console functions.