code done, grammar documented