replaced table by plots