replacement of variables
test passes
minor