change function .showFOI, delete unnecessary ones