adding multiple variable test and implementation