- move configuration into constructor