changing constructor visibility