print info by console