Add lambdas and check_board method