updated to work with Processing 2.1+ and updated the data structure