rendering in multiple steps