added a call to render