board index function bit more complete