Renamed variables and translated comments to english