add console outputs and other misc things