updated board style to a nested array