updated class constructor name