refactored board_spec