added dynamic instance setting