Added variable re-render on change