added add all method for adding many variables at the same time