better convert args.properties to an int list outside the loop to prevent splitting everytime ;)