prepare render