It's a multiplier. I changed some things round a bit and added a comment to explain it.