logic to check for yoyo list