redesigned castsequence