renamed one var for readability