Changed constructor signature to include variable name