Added the cascade function
AHHHHHHH