Added secondary constructor method