added private access levels to private variables