added error rendering example