grab and config