changed the variables as well