some plotting macro added