cleaned up output, made it link