Changed the list, now using integer variables.