lag determine rolled into singalong. Will need to modularize eventually.