waiting for the first program