Removed unnecessary second parameter for the render function