Changed code for the new board