works ok on real data