impliment Board turn function