Made constructor public