cleaned up outputs to console