changed movement to board functions