updated value to 2 everytime