late night debugging... yay