processing logic to be Revamped