keep line function and alternative pic show