started chess rewrite