add zorder buffer