modify board logic