add method to Board Class