edit grammar/function