Added return this to render function