adding in render endpoint