adapt grammar