added use of variables