Working version of many variables