changed variable name for actual name query