added the ability to provide different configurations