working prototype with processing