add rendering time handler