added moves table
now logging moves