Gilbert is reason for Longhorns to remain optimistic