More debugging. Kinda works.