making it compatible for real data