changed ->string(100) to ->string(stateName, 100)