works for case of switching door every time