make object private and use interface instead