refactor into Processing project