some cleanup. shitty pretty printing.