Added function to crate board