render working. updated example