fixed from barns test