format code; amed readme