removed console dependency