added mutation and plotting