added variable size board