tested with real data