added doctest to default/index()