third commit

attempt at stopping lag (code is commented and commented out and doesn't
break anything when running)