use $r->status() here too