small pre competition mods and plotting function