should be accesing platform from board instead of undefined