now works with processing 2.0