more progress on the booard printing function