board draw loop added