Add waitForSeconds snippet