made some more changes to make board_genio more readable