make a couple of methods private