Clean ouput and start working on affinity