remove functions that was moved to board.c