Drawboard function made