added private access modifier where applicable