replaced hard-coded name with variable