finished logic in Board Checker