Add code with 1s delay