added outputs to console