first rendering steps