finished, until I rewrite the newboard function.