plots implementation3