working ritschard example