The president was responding to a question on the ongoing debate on H-1B visa within his support base