adding state of the art plotting macro