made 2 methods private