edit grammar/Function