edit codes, commented dev.off