Document or add constants for what these magic numbers are. Specifically, what does the "2" do?