even uglier but nicer output