Some effect code and stuff