What's this magic number 2? Might be good to have a constant here.