separated out config