I think the second == 3 is wrong here.