Clarified variable name
Clarified variable
Refactored variables for easier understandning
Updated comments