add configure
adjust format