improved rendering performance