decreased private access on some variables to allow for easier testing