Add render functionality