better lib config