Added sink and source process functionality