Renaming some variables to make their purpose clearer

Signed-off-by: Ozan Turgut <ozanturgut@gmail.com>