prev switching between 3 and 1