converted data to integers for script to work