renamed unclear functions/variables