Add References
Remove duplicate code line