? would it be more concise to use a switch statement to handle all these cases for the board