added ACMlog and ACM_plot