refactoriung
buffer plugin
cmd file