deleted a console.log that might have been slowing it down.