added previous value for select