changing reconfigure logic