Removed unnecessary requires, declarations, and added semantic variable naming conventions as per the code review