rename render function