made methods that should be private, private