removed self argument in render call