Add effect code