Changing num itesm programmatically