working on Board typeclass