changed public access for necessary methods