Almost forgot to uncomment debugging stuff.