rename variables for better understanding and consistancy