rewrite of Board. need to test new versions of functions.