Fixed output and niced it up.