WIP: add configure