Added two methods, set and get board