Renamed private method
Added comments
Renamed private variables