changed Refl to struct