changed constructor visibility