added name variable as requirement upon instantiation