Added helper functions to Board