made the sketch compatible with processing 2