plots implementation1