Connect Processing and logic