making vars private in Board class