creating variables in place of constants