added optional configuration