Comment the code
Replace some hard-coded numbers with constants