Adding kint for debugging. Still a bit messy