Making sure that class variable isn't overwritten