added reading from the board. doesn't work