plots implementation2