simplified example renderer in index