Configuration should probably be put inside block(line21-24)