adding config setup and finalize creation