new code runs continuously