put infinite while loop in front until main beat 'ready'