Can you explain what each line does?