console outputs working