If you want to study the code I would suggest introducing some variables.