Added board condition to setter class in util