added a random dataset and fixed notes and warnings