changed variable name for better reusability