resetting default values for class variables