imported data, added needed libraries